/*
 * Created on Dec 21, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.ba360.struts.form;

import java.util.Vector;



/**
 * @author ROnat
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ActivityBean
{
	Vector bVector;
	String type;
	public BusinessBean[] getBusiness()
	{
		
		BusinessBean bb[]  = new BusinessBean[bVector.size()];
		if (bVector.size() >0) bVector.copyInto(bb);
		
		return bb;
	}
	public void setBusiness(BusinessBean bb[])
	{
		bVector = new Vector(bb.length);
		 for (int i=0; i < bb.length; i++)
	        {
	            bVector.addElement(bb[i]);
	        }
	}
	public String getType()
	{
		return type;
	}
	public void setType(String type)
	{
		this.type =  type;
	}
}